Interface VelocityCipher
- All Superinterfaces:
AutoCloseable,Closeable,Disposable,Native
- All Known Implementing Classes:
JavaVelocityCipher,NativeVelocityCipher
Implements an AES-CFB8 cipher that either encrypts or decrypts connection data.
-
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(io.netty.buffer.ByteBuf source) Encrypts the givenByteBufin-place.Methods inherited from interface com.velocitypowered.natives.Disposable
closeMethods inherited from interface com.velocitypowered.natives.Native
preferredBufferType
-
Method Details
-
process
void process(io.netty.buffer.ByteBuf source) Encrypts the givenByteBufin-place.- Parameters:
source- the buffer to encrypt
-