Open MaxOrelus opened 7 years ago
@MaxOrelus I think this post contains the information you need: https://github.com/digitalbazaar/forge/issues/87#issuecomment-28796415
Also, here are tests demonstrating the methods you need: https://github.com/digitalbazaar/forge/blob/94cd061f005dc2746ea9e4dddf6b23ad9c0044f9/tests/unit/rsa.js#L233
I'm generating my keys using the following method
I'm trying to figure out how I can import my already generated key into forge and use them for encryption/decryption. I am able to read from the file and hold the key in a variable.