ASR_BASE
Change-Id: Icf3719cc0afe3eeb3edc7fa80a2eb5199ca9dda1
diff --git a/external/subpack/lang/python/python-cryptography/test.sh b/external/subpack/lang/python/python-cryptography/test.sh
new file mode 100644
index 0000000..308f545
--- /dev/null
+++ b/external/subpack/lang/python/python-cryptography/test.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+[ "$1" = python3-cryptography ] || exit 0
+
+python3 - << 'EOF'
+
+from cryptography.fernet import Fernet
+key = Fernet.generate_key()
+f = Fernet(key)
+msg = b"my deep dark secret"
+token = f.encrypt(msg)
+assert f.decrypt(token) == msg
+
+EOF