hiboot: hidevops.io/hiboot/pkg/utils/crypto/base64 Index | Files

package base64

import "hidevops.io/hiboot/pkg/utils/crypto/base64"

Package base64 provides base64 encryption/decryption utilities

Index

Package Files

base64.go

func Decode Uses

func Decode(src []byte) (dst []byte, err error)

Decode decode base64 bytes

func DecodeToString Uses

func DecodeToString(src string) (retVal string, err error)

DecodeToString decode string from base64 string

func Encode Uses

func Encode(src []byte) (dst []byte)

Encode encode src bytes to base64 format bytes

func EncodeToString Uses

func EncodeToString(src string) string

EncodeToString encode src string to base64 format string

Package base64 imports 1 packages (graph) and is imported by 2 packages. Updated 2019-04-02. Refresh now. Tools for package owners.