module
Version:
v1.1.1
Opens a new window with list of versions in this module.
Published: Dec 27, 2024
License: MIT
Opens a new window with license information.
README
¶
Rather simple rot13 implementation in Go
A simple module i created in go to play with publishing, exports and versioning in Go
In the highly unlikely (not recommended) case you want to use this for your production grade applications
go mod init # if not done already
go get github.com/nav33nb/crypto
Usage
package main
import (
"fmt"
"github.com/nav33nb/ncrypt/rot13"
)
func main() {
str := "Hello"
enc := rot13.Encode(str)
dec := rot13.Decode(enc)
fmt.Println("str == dec ?", str == dec)
}
// OUTPUT
// str == dec ? true
Directories
¶
A simple letter substitution cipher, commonly called ROT13.
|
A simple letter substitution cipher, commonly called ROT13. |
Click to show internal directories.
Click to hide internal directories.