mirror of
https://github.com/autistic-symposium/sec-pentesting-toolkit.git
synced 2025-04-28 11:36:08 -04:00
10 lines
197 B
Python
10 lines
197 B
Python
#!/usr/bin/env python
|
|
|
|
def example_sha():
|
|
from Crypto.Hash import SHA256
|
|
hash = SHA256.new()
|
|
hash.update('message')
|
|
print hash.digest()
|
|
|
|
if __name__ == '__main__':
|
|
example_sha() |