Files
hadja_server/web/middleware/api_security/genkey_test.go
T
rootandClaude Opus 4.7 79ac89b458 Initial commit
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-11-07 10:47:18 +08:00

17 lines
245 B
Go

package api_security
import (
"fmt"
"testing"
)
func TestGenerateSalt(t *testing.T) {
for i := 0; i < 5; i++ {
fmt.Println(GenerateIVSalt())
}
}
func BenchmarkGenerateSalt(b *testing.B) {
GenerateIV("asdfasdfasdf", GenerateIVSalt())
}