Skip to content
/ base69 Public

Base69 is a binary-to-text encoding scheme

License

Notifications You must be signed in to change notification settings

eiri/base69

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Base69

Test Go Report Card

Base69 is a binary-to-text encoding scheme. This is port of pshihn/base69. Why Base69 when Base64 is adequate? Because it's NICE!

Usage

package main

import (
    "fmt"

    "github.com/eiri/base69/encoding/base69"
)

func main() {
    msg := "Hello, 世界"
    encoded := base69.Encode([]byte(msg))
    fmt.Println(string(encoded))
    decoded := base69.Decode(encoded)
    fmt.Println(string(decoded))
}

Output:

kAZAtABBeB8ATBgAtBuASApB8ARBYA1=
Hello, 世界

Testing

go test -v ./...

Licence

MIT

About

Base69 is a binary-to-text encoding scheme

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages