Saving into a txt file into the project root directory, just temporairly. This thing can be probably improved with a BN_bn2bin conversion.