use securerandom to generate random bytes
Merge pull request #1 from rkr090/secure_random

use securerandom to generate random bytes