xsha256

package
v0.2.30 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package xsha256 provides useful functions for SHA256 encryption/decryption algorithms.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Encrypt

func Encrypt(v string) string

Encrypt encrypts string with SHA256 algorithms.

func EncryptBytes

func EncryptBytes(v []byte) string

EncryptBytes encrypts []byte with SHA256 algorithms.

func EncryptFile

func EncryptFile(path string) (encrypt string, err error)

EncryptFile encrypts the given file content with SHA256 algorithms.

Types

This section is empty.

Jump to

Keyboard shortcuts

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