cryptoutil

package
v1.25.1-0...-2fdc35d Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package cryptoutil provides the utilities abstract utilities that can be used in NeoFS cryptography.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Buffer

func Buffer(sz int) []byte

Buffer gets buffer with length sz from sync.Pool or allocates new one via make.

Buffer can be returned to pool via ReleaseBuffer.

func ReleaseBuffer

func ReleaseBuffer(buf []byte)

ReleaseBuffer returns the buffer to the sync.Pool.

Types

This section is empty.

Jump to

Keyboard shortcuts

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