File: README.md

package info (click to toggle)
secnet 0.6.8
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 1,956 kB
  • sloc: ansic: 15,234; python: 1,057; perl: 966; sh: 596; tcl: 484; java: 231; asm: 114; yacc: 89; php: 64; makefile: 48; awk: 40
file content (15 lines) | stat: -rw-r--r-- 385 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
base91-python
=============

A python implementation of Base91 as described on http://base91.sourceforge.net/ , licenced under the New BSD License.

Usage
-----

	import base91

	base91.encode('test')						#result: 'fPNKd'
	base91.encode(b'\xfe\x03\x00W\xa9\xbc') 	#result: 'VLv(GdNE'

	base91.decode('8D9Kc)=/2$WzeFui#G9Km+<{VT2u9MZil}[A') # result: 'May a moody baby doom a yam?\n'