diff options
Diffstat (limited to 'stdlib/source/program/aedifex/hash.lux')
-rw-r--r-- | stdlib/source/program/aedifex/hash.lux | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/program/aedifex/hash.lux b/stdlib/source/program/aedifex/hash.lux index b566dc5e6..43017034e 100644 --- a/stdlib/source/program/aedifex/hash.lux +++ b/stdlib/source/program/aedifex/hash.lux @@ -1,7 +1,7 @@ (.using [library [lux (.except) - ["[0]" ffi (.only import:)] + ["[0]" ffi (.only import)] [abstract [codec (.only Codec)] [equivalence (.only Equivalence)] @@ -26,10 +26,10 @@ ... 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: java/lang/String +(import java/lang/String "[1]::[0]") -(import: java/security/MessageDigest +(import java/security/MessageDigest "[1]::[0]" ("static" getInstance [java/lang/String] java/security/MessageDigest) (digest [[byte]] [byte])) |