Closed shamil closed 1 month ago
Unless I misunderstood something, there is no way to change the Algorithm identifier. I see it's hardocded to AlgIdentifier (2b).
AlgIdentifier
2b
https://github.com/go-crypt/crypt/blob/c160fb3a13cbf8bc0ee5e3ad383897d55734eacc/algorithm/bcrypt/digest.go#L55-L58
There isn't. The identifiers are anchored to the algorithm and variant. For decoding purposes it accepts multiple for compatibility.
Unless I misunderstood something, there is no way to change the Algorithm identifier. I see it's hardocded to
AlgIdentifier
(2b
).https://github.com/go-crypt/crypt/blob/c160fb3a13cbf8bc0ee5e3ad383897d55734eacc/algorithm/bcrypt/digest.go#L55-L58