accounts: fix incorrect prefix of comment

This commit is contained in:
Taeguk Kwon 2023-12-23 02:40:54 +09:00
parent 8d0391806f
commit d61b13b8cb
No known key found for this signature in database
GPG key ID: 682F4CEA6A67D34E

View file

@ -136,7 +136,7 @@ func (ks keyStorePassphrase) JoinPath(filename string) string {
return filepath.Join(ks.keysDirPath, filename)
}
// Encryptdata encrypts the data given as 'data' with the password 'auth'.
// EncryptDataV3 encrypts the data given as 'data' with the password 'auth'.
func EncryptDataV3(data, auth []byte, scryptN, scryptP int) (CryptoJSON, error) {
salt := make([]byte, 32)
if _, err := io.ReadFull(rand.Reader, salt); err != nil {