Skip to main content

Encrypt: πŸ”‘πŸ”’

  • Symbol πŸ”’behaves like a binary operator
  • πŸ”’ encrypts what is on its rhs e.g. πŸ”’m
  • πŸ”‘πŸ”’uses the key on its lhs to encrypt
  • crypt = πŸ”‘πŸ”’ m just like e.g. multiplication copies the resultant into the lhs of =

πŸ”‘πŸ”’ m behaves like a product by the operator πŸ”’incorporating is rhs and lhs into a product.

πŸ” ["rsa"] ; 

m = "hi";

crypt = πŸ”‘πŸ”’ m;

show crypt;

save as rsa;

Output:

"crypted" ⟢ "<|Cipher -> RSA, Data -> ByteArray[ETlKQciE9Qxm3/+Cm1y8/RdCwREyqc84Od8IrJYGcjlm4RGXxs4oOXl2xEqbsdo1bcUk2C4HkhxeGWInbVPU1ipokp1P7zg3ffUWERID4/NA1waVzbeeFCq4rs6BjXB2/D/QGFYkNEPxkY9NA8OijjeoTWbfjs+DY+nZft585kzDiK8yPF6ZchkcZeLIAJwLi2xiZzGt4Ko1oOypFSyEYoOKljWnm7Iudr4cC/ec/9ap1psUkdDybcMHsFHIUO3OCU0PGIHS9FKR2nCPVTEZZunTLHzXCrHwWf+OZCoFt2qurFpLzD52s3C30hozalgVz5hgn28c9l9DiGmpuc7T0A==], OriginalForm -> String, Padding -> PKCS1|>"

Cloud Object Browser