fixed scrypt() call and pbp pk export signature