cryptoUtils

package
v0.0.11 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: MIT Imports: 8 Imported by: 1

Documentation

Overview

Package cryptoUtils *

  • @Author: W.w.
  • @File: md5
  • @Date: 2023-06-11 12:33
  • @Description:

Index

Constants

This section is empty.

Variables

View Source
var DefaultPrivateKey = `` /* 522-byte string literal not displayed */
View Source
var DefaultPublicKey = `` /* 188-byte string literal not displayed */

Functions

func Base64Decode

func Base64Decode(source string) ([]byte, error)

func Base64Encode

func Base64Encode(source string) string

func Md5

func Md5(b []byte) string

func RsaDecode

func RsaDecode(privateKey, ciphertext string) (string, error)

func RsaEncode

func RsaEncode(publicKey, plaintext 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