Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public Result forgotPassword(User user) throws Exception {
return Result.success(ExceptionEnum.CM334.getResultCode(), ExceptionEnum.CM334.getResultMsg());
}

private boolean validatorPublicKey(String salt, PublicKey publicKey, PrivateKey privateKey) throws Exception {
boolean validatorPublicKey(String salt, PublicKey publicKey, PrivateKey privateKey) throws Exception {
String plainSalt = decrypt(salt, privateKey);
String cipherSalt = encrypt(plainSalt, publicKey);
String decryptSalt = decrypt(cipherSalt, privateKey);
Expand Down
Loading
Loading