summaryrefslogtreecommitdiff
path: root/modules/language/python/module/_sha256.scm
diff options
context:
space:
mode:
Diffstat (limited to 'modules/language/python/module/_sha256.scm')
-rw-r--r--modules/language/python/module/_sha256.scm10
1 files changed, 10 insertions, 0 deletions
diff --git a/modules/language/python/module/_sha256.scm b/modules/language/python/module/_sha256.scm
new file mode 100644
index 0000000..c87ea1a
--- /dev/null
+++ b/modules/language/python/module/_sha256.scm
@@ -0,0 +1,10 @@
+(define-module (language python module _sha256)
+ #:use-module (language python checksum)
+ #:use-module (oop pf-objects)
+ #:export (sha256))
+
+(define-python-class sha256 (Summer)
+ (define name "sha256")
+ (define digest_size 32)
+
+ (define _command "/usr/bin/sha256sum"))