Skip to content

Python implementation btoa and atob functions from javascript

Notifications You must be signed in to change notification settings

Demetrous-fd/btoa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

pip install btoa

Example

from btoa import btoa, atob

assert btoa("Hello World!") == "SGVsbG8gV29ybGQh"
assert atob("SGVsbG8gV29ybGQh") == "Hello World!"