aeswrap

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2023 License: MIT Imports: 2 Imported by: 0

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