A solution to store client-side encrypted JSON in a backend that has no knowledge of the unencrypted contents. JavaScript frontend -> Go backend
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
securejson/utils.go

11 lines
184 B

package securejson
import (
"fmt"
"encoding/hex"
)
func dumpBytes(prifix string, bytes []byte) {
hexString := hex.EncodeToString(bytes)
fmt.Println(prifix, hexString)
}