aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/program/aedifex/hash.lux
diff options
context:
space:
mode:
authorEduardo Julian2022-03-14 17:03:38 -0400
committerEduardo Julian2022-03-14 17:03:38 -0400
commit62299ecdc93b39f6a22b1f89779f55dfa735fb3c (patch)
tree5456440c78bbdb1cd51e9156a7cd47ebf73b7edd /stdlib/source/program/aedifex/hash.lux
parent792f88d0640831f426728b41d62d94fdcc4959d3 (diff)
Made JVM "import:" syntax consistent with the other "import:"s.
Diffstat (limited to 'stdlib/source/program/aedifex/hash.lux')
-rw-r--r--stdlib/source/program/aedifex/hash.lux9
1 files changed, 5 insertions, 4 deletions
diff --git a/stdlib/source/program/aedifex/hash.lux b/stdlib/source/program/aedifex/hash.lux
index 30b0cdcee..23421b264 100644
--- a/stdlib/source/program/aedifex/hash.lux
+++ b/stdlib/source/program/aedifex/hash.lux
@@ -24,12 +24,13 @@
... 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
- ["[1]::[0]"
- ("static" getInstance [java/lang/String] java/security/MessageDigest)
- (digest [[byte]] [byte])])
+ "[1]::[0]"
+ ("static" getInstance [java/lang/String] java/security/MessageDigest)
+ (digest [[byte]] [byte]))
(abstract: .public SHA-1 Any)
(abstract: .public MD5 Any)