gpg: added method for entropy gen