Added forcing of charset in several calls to getBytes. Added fallback SecureRandom initialization.
Added forcing of charset in several calls to getBytes. Added fallback SecureRandom initialization.

hbs/oss,hbs/oss,hbs/oss