Hello, we love this library and have been using it extensively for our internal projects. We have implemented wrapping and unwrapping support in a crypto11 fork and would like for this feature to be added upstream. We would like the original authors' input on how the design should look.
We have currently added receivers to the SecretKey struct (WrapKWP() and UnwrapKWP()), but maybe it would be better to make something resembling the BlockModeCloser struct? Something like NewKWPWrapper() and NewKWPUnwrapper()? Can we have some input on this?
Hello, we love this library and have been using it extensively for our internal projects. We have implemented wrapping and unwrapping support in a crypto11 fork and would like for this feature to be added upstream. We would like the original authors' input on how the design should look.
We have currently added receivers to the
SecretKeystruct (WrapKWP()andUnwrapKWP()), but maybe it would be better to make something resembling theBlockModeCloserstruct? Something likeNewKWPWrapper()andNewKWPUnwrapper()? Can we have some input on this?