Have it take in a cipher init function as an argument. Remove the confusing `newCipher` method that matched legacy behavior and returns a Base64Cipher(CFBCipher) -- instead explicitly ask for that in the uses. |
||
|---|---|---|
| .. | ||
| interfaces.go | ||
| session_state.go | ||
| session_state_test.go | ||