Edit declaration of PasswordEncoder interface of Cryptography section #10910
Labels
status: ideal-for-contribution
An issue that we actively are looking for someone to help us with
type: bug
A general bug
Milestone
Describe the bug
In
Cryptography - Password Encoding
page, a Java interface ofPasswordEncoder
comes with a different signature from an actual implementation in5.7.x
branch.To Reproduce
PasswordEncoder
interface in the link above.PasswordEncoder
interface between both source.encode
method, it acceptsString
instead ofCharSequence
, for example.Expected behavior
PasswordEncoder
should have correct signatures ofencode
andmatches
methods.PasswordEncoder
should contain default methodupgradeEncoding
.Sample
The text was updated successfully, but these errors were encountered: