Wrong type in encryption

master
Friedl Ulrich 10 years ago
parent 838b6040ae
commit dd8bde5239

@ -42,7 +42,7 @@ func main() {
} }
log.Print(rfm) log.Print(rfm)
err = rfm.Encrypt("0123456789012345") err = rfm.Encrypt([]byte("0123456789012345"))
if err != nil { if err != nil {
log.Fatal(err) log.Fatal(err)
} }

Loading…
Cancel
Save