summaryrefslogtreecommitdiff
path: root/modules/language/python/module/_sha224.scm
diff options
context:
space:
mode:
authorStefan Israelsson Tampe <stefan.itampe@gmail.com>2018-08-26 18:14:35 +0200
committerStefan Israelsson Tampe <stefan.itampe@gmail.com>2018-08-26 18:14:35 +0200
commit21eb9264bdb581c1978193f9cbcaeb416e8e972c (patch)
treec4afe2e3c65b78a8a536288a00b19ddd2909dd71 /modules/language/python/module/_sha224.scm
parent476007acf39bbf6e2e4a1239ebb8835195895156 (diff)
start supporting hash sums from guile python
Diffstat (limited to 'modules/language/python/module/_sha224.scm')
-rw-r--r--modules/language/python/module/_sha224.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/language/python/module/_sha224.scm b/modules/language/python/module/_sha224.scm
new file mode 100644
index 0000000..16f1618
--- /dev/null
+++ b/modules/language/python/module/_sha224.scm
@@ -0,0 +1,10 @@
+(define-module (language python module _sha224)
+ #:use-module (language python checksum)
+ #:use-module (oop pf-objects)
+ #:export (sha224)
+
+(define-python-class sha224 (Summer)
+ (define name "sha224")
+ (define digest_size 28)
+
+ (define _command "/usr/bin/sha224sum"))