break out randomSecret to a variable length w/ optional checksum thing.