mirror of
https://github.com/billbuchanan/appliedcrypto.git
synced 2026-02-20 13:50:42 +00:00
Fix base64 encoding by encoding string first
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import base64
|
||||
str="crypto"
|
||||
print (base64.b64encode(str))
|
||||
print (base64.b64encode(str.encode()))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user