utils

package
v0.2.13 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecryptAES128ECB

func DecryptAES128ECB(data, key []byte) []byte

func NormalizeUnicode

func NormalizeUnicode(str string) string

normalizeUnicode normalizes unicode string to NFC. since macOS may change some characters in the file name. e.g. "ぜ"(e3 81 9c) -> "ぜ"(e3 81 9b e3 82 99)

func PKCS7UnPadding

func PKCS7UnPadding(encrypt []byte) []byte

func WriteTempFile

func WriteTempFile(rd io.Reader, ext string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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