encoding

package
v2.0.0-alpha1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 2, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(encoded string) t.Result[[]byte]

Decode Standard decoding for Paseto is URL safe base64 with no padding

func Encode

func Encode(bytes []byte) string

Encode Standard encoding for Paseto is URL safe base64 with no padding

func HexDecode

func HexDecode(encoded string) t.Result[[]byte]

Decode hex

func HexEncode

func HexEncode(bytes []byte) string

Encode hex

func Pae

func Pae(pieces ...[]byte) []byte

Pae Pre Auth Encode

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL