util

package module
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AESCBCDecrypt

func AESCBCDecrypt(ciphertext, key, iv []byte) []byte

func AESCBCEncrypt

func AESCBCEncrypt(plaintext, key, iv []byte) []byte

func Atoi

func Atoi(s string) int

func GzipCompress

func GzipCompress(data []byte) []byte

func GzipUncompress

func GzipUncompress(data []byte) []byte

func Itoa

func Itoa(num int) string

func MD5Sum added in v1.1.0

func MD5Sum(data []byte) string

func ParseHexBytes added in v1.1.0

func ParseHexBytes(s string) []byte

func ParseHexInt added in v1.1.0

func ParseHexInt(s string) int

func Pointer

func Pointer[T any](d T) *T

func Reverse

func Reverse(s string) string

func SHA256Sum added in v1.1.0

func SHA256Sum(data []byte) string

func Timestamp10

func Timestamp10(t ...time.Time) string

func Timestamp13

func Timestamp13(t ...time.Time) string

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