feat: add doc for interface function. Close #23

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ
2020-08-01 16:58:32 +08:00
parent e4838d0a46
commit 0467ca6bfd
3 changed files with 17 additions and 1 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ func decryptPBE(globalSalt, masterPwd, entrySalt, encrypted []byte) ([]byte, err
//byte[] k1;
//byte[] tk;
//byte[] k2;
//byte[] k; // final value conytaining key and iv
//byte[] k; // final value containing key and iv
glmp := append(globalSalt, masterPwd...)
hp := sha1.Sum(glmp)
s := append(hp[:], entrySalt...)