Fix base64 encoding by encoding string first

This commit is contained in:
Bill Buchanan
2026-01-15 17:21:38 +00:00
committed by GitHub
parent a31e96eae5
commit 25c2e22872

View File

@@ -1,3 +1,4 @@
import base64
str="crypto"
print (base64.b64encode(str))
print (base64.b64encode(str.encode()))