diff options
author | Eduardo Julian | 2020-10-09 23:11:38 -0400 |
---|---|---|
committer | Eduardo Julian | 2020-10-09 23:11:38 -0400 |
commit | befa21cea76282f8cd3509e0a7da1bdffd353101 (patch) | |
tree | 9f671c8a86ca43bcccb8105a668a271e72ef06ea /stdlib/source/program/aedifex/hash.lux | |
parent | bae39f32cddb816a6123697269c20dbf4a65ac19 (diff) |
Mandatory long names for JVM imports, instead of having "long" be optional and short be default.
Diffstat (limited to 'stdlib/source/program/aedifex/hash.lux')
-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])) |