Added a struct for nut data that can be accessed like a union in C, and hooked the encryption part of nut generation