Moved the old X and Y validation code out so it could be revived and improved later
Added throws to the scrypt code that isn't fully implemented yet just so we don't use it by accident