keyutil

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: May 21, 2023 License: AGPL-3.0-or-later Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Format

func Format(key *[32]byte) string

Format formats the given key in the format a,b,c,...,z which is human-readable and suitable to be read by backend.UpdateKey().

func FormatSlice

func FormatSlice(b []byte) string

Format formats the given byte slice (probably a nonce slice-ified key) in the format a,b,c,...,z which is human-readable and suitable to be read by backend.UpdateKey().

func Parse

func Parse(cliDigits string) (*[32]byte, error)

Parse takes the string representation of a crypto key (comma-separated numbers) and parses it into a usable key.

Types

This section is empty.

Jump to

Keyboard shortcuts

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