crypto

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesToInt

func BytesToInt(b []byte) int

BytesToInt 字节转换成整形

func PKCS7Padding

func PKCS7Padding(data []byte) []byte

PKCS7Padding PKCS7补码

func PKCS7Unpadding

func PKCS7Unpadding(data []byte) []byte

PKCS7Unpadding 去除PKCS7的补码

func ParseIntToBytes

func ParseIntToBytes(num int) []byte

ParseIntToBytes 整形转换成字节

func ParseUint32ToBytes

func ParseUint32ToBytes(num uint32) []byte

ParseUint32ToBytes 整形转换成字节

func ParseUint64ToBytes

func ParseUint64ToBytes(num uint64) []byte

ParseUint64ToBytes 整形转换成字节

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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