This assumes the `@keylength` is 256. Can this be done more generically?