r/cryptography • u/rvg0291 • 14d ago
algorithm replicating
if i have secure implementation of algorithm in 1 language and i wana port it to other language and they dont have compiler is there secure way to do it?
0
Upvotes
View all comments
2
u/Natanael_L 14d ago
Why wouldn't there be a compiler?
You can do it if you understand all the requirements of the first implementation (RNG management, memory protection, constant time behavior, etc), and if you know how to replicate these same properties in the target language. It will take a fair bit of reverse engineering and the target needs to be able to provide the requirements (like having a secure RNG available).