Skip to content
Advertisement

Tag: char

How to do basic encryption on characters (TypeScript)?

I want to encrypt a string with RSA public and private keys. However, when I try to decrypt the characters back to there initial ascii-value, they return something different. Here are my methods for encrypting and decrypting: n, e and d are 15, 7 and 13 respectively. Any advice on this would be greatly appreciated! EDIT Found a solution to

Advertisement