Logo
Explore Help
Sign In
Narcissus/shredos.x86_64
2
0
Fork 0
You've already forked shredos.x86_64
mirror of https://github.com/PartialVolume/shredos.x86_64.git synced 2026-02-23 11:02:11 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
f07994f7d64e06c74d87c3eec89adfc248445187
shredos.x86_64/support/testing/tests/package/sample_python_cryptography.py

4 lines
83 B
Python
Raw Normal View History

support/testing: use TestPythonPackageBase for python-cryptography Move the test script to be run on the target from inline in the test case to a separate file. Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Asaf Kahlon <asafka7@gmail.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-11-10 00:16:04 -02:00
from cryptography.fernet import Fernet
key = Fernet.generate_key()
f = Fernet(key)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 214ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API