architecture/docs/workshop/5-snake-oil-crypto/hands-on-support/ClosePQ/answers/getModulusBase10.sh

3 lines
101 B
Bash
Executable File

#!/bin/bash
openssl rsa -in $1 -pubin -modulus -noout | awk '{print substr($1 ,9)}' | ./convert10.sh