#| -*-Scheme-*-
-$Id: crypto.scm,v 14.2 2000/04/10 19:01:28 cph Exp $
+$Id: crypto.scm,v 14.3 2000/04/10 19:04:17 cph Exp $
Copyright (c) 2000 Massachusetts Institute of Technology
passphrase))
\f
(define (mhash-available?)
- (implemented-primitive-procedure? mhash-update))
+ (implemented-primitive-procedure? (ucode-primitive mhash 4)))
(define (mhash-file hash-type filename)
(call-with-binary-input-file filename
#| -*-Scheme-*-
-$Id: runtime.pkg,v 14.341 2000/04/10 18:32:38 cph Exp $
+$Id: runtime.pkg,v 14.342 2000/04/10 19:01:31 cph Exp $
Copyright (c) 1988-2000 Massachusetts Institute of Technology
"bitstr"
"boole"
"boot"
- "crypto"
"equals"
"fixart"
"global"
eqht/put!
make-eqht))
+(define-package (runtime crypto)
+ (files "crypto")
+ (parent ())
+ (export ()
+ md5-available?
+ md5-file
+ md5-string
+ md5-substring
+ md5-sum->hexadecimal
+ md5-sum->number
+ mhash-available?
+ mhash-end
+ mhash-file
+ mhash-get-block-size
+ mhash-hmac-end
+ mhash-hmac-init
+ mhash-init
+ mhash-keygen
+ mhash-keygen-max-key-size
+ mhash-keygen-salt-size
+ mhash-keygen-types
+ mhash-keygen-uses-count?
+ mhash-keygen-uses-hash-algorithm
+ mhash-keygen-uses-salt?
+ mhash-string
+ mhash-substring
+ mhash-sum->hexadecimal
+ mhash-sum->number
+ mhash-types
+ mhash-update)
+ (initialization (initialize-package!)))
+
(define-package (runtime regular-expression)
(file-case options
((load) "regexp")