sha256_test.py 100 B

123456789
  1. #python
  2. from k210 import sha256
  3. str = "1234567890"
  4. s = sha256(len(str))
  5. s.update(str)
  6. s.digest()