MCPcopy Index your code
hub / github.com/SummerSec/SpringExploit / EncodeBase64String

Function EncodeBase64String

cmd/commons/utils/base64.go:9–11  ·  view source on GitHub ↗

EncodeBase64String Base64Encode encodes the given string to base64

(str string)

Source from the content-addressed store, hash-verified

7
8// EncodeBase64String Base64Encode encodes the given string to base64
9func EncodeBase64String(str string) string {
10 return base64.StdEncoding.EncodeToString([]byte(str))
11}
12
13// DecodeBase64String decode the base64 string return string
14func DecodeBase64String(str string) string {

Callers 3

SendPocMethod · 0.92
CheckExpMethod · 0.92
SendPocMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected