diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/program/aedifex/hash.lux | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/source/program/aedifex/hash.lux b/stdlib/source/program/aedifex/hash.lux index 63511a74d..86fe4319d 100644 --- a/stdlib/source/program/aedifex/hash.lux +++ b/stdlib/source/program/aedifex/hash.lux @@ -11,9 +11,9 @@ ## TODO: Replace with pure-Lux implementations of these algorithms ## https://en.wikipedia.org/wiki/SHA-1#SHA-1_pseudocode ## https://en.wikipedia.org/wiki/MD5#Algorithm -(import: #long java/lang/String) +(import: java/lang/String) -(import: #long java/security/MessageDigest +(import: java/security/MessageDigest (#static getInstance [java/lang/String] java/security/MessageDigest) (digest [[byte]] [byte])) |