unnest most scrypt helper functions