Use crypto/pbkdf2.

This commit is contained in:
Nuno Cruces
2025-09-18 18:40:56 +01:00
parent 11e064574c
commit c3ebb04045
5 changed files with 15 additions and 14 deletions

View File

@@ -45,10 +45,7 @@ func TestBlob(t *testing.T) {
}
var data [1280]byte
_, err = rand.Read(data[:])
if err != nil {
t.Fatal(err)
}
rand.Read(data[:])
_, err = blob.Write(data[:size/2])
if err != nil {