crypto

package module
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: MIT Imports: 4 Imported by: 0

README

go-crypto

Introduction

If you need basic cryptographic functions to secure data from within your application, but have no clue about the details of cryptography, this library is for you! You don't want your code to contain a lot of lines of code that handle weird object types and strange APIs that have nothing to do with your actual business logic? This library aims to be taking care about all details without messing up your code and without requiring you to be a guru in cryptography or computer science in general. This very first version supports only a few cryptographic hash functions and will be extended over time.

Hashing
- SHA256
- SHA384
- SHA512

License

Release under the MIT License. (see LICENSE)

DeepSource

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SHA256

func SHA256(data string) string

SHA256 (data) return SHA256-Hash of given string

func SHA384

func SHA384(data string) string

SHA384 (data) return SHA386-Hash of given string

func SHA512

func SHA512(data string) string

SHA512 (data) return SHA512-Hash of given string

Types

This section is empty.

Jump to

Keyboard shortcuts

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