aeswrap

package
v0.0.0-...-59e6dc4 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2022 License: MIT Imports: 2 Imported by: 5

Documentation

Overview

Implements rfc3394 - AES keywrapping.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Unwrap

func Unwrap(kek []byte, in []byte) []byte

Unwrap will unwap the value in "in" with the key "kek". Returns nil on failure.

func Wrap

func Wrap(kek []byte, in []byte) []byte

Wrap will wrap 'in' with the key in 'kek'.

Types

This section is empty.

Jump to

Keyboard shortcuts

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