Closed qmuntal closed 1 year ago
NewCBCEncrypter and NewCBCDecrypter implementations for 3DES are broken, we are passing the incorrect algorithm identifier when constructing the BCrypt algorithm handle.
NewCBCEncrypter
NewCBCDecrypter
This PR fixes it and adds some tests to ensure there are no regressions.
NewCBCEncrypter
andNewCBCDecrypter
implementations for 3DES are broken, we are passing the incorrect algorithm identifier when constructing the BCrypt algorithm handle.This PR fixes it and adds some tests to ensure there are no regressions.