Interface VelocityCipher

All Superinterfaces:
AutoCloseable, Closeable, Disposable, Native
All Known Implementing Classes:
JavaVelocityCipher, NativeVelocityCipher

public interface VelocityCipher extends Disposable, Native
Implements an AES-CFB8 cipher that either encrypts or decrypts connection data.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    process(io.netty.buffer.ByteBuf source)
    Encrypts the given ByteBuf in-place.

    Methods inherited from interface com.velocitypowered.natives.Disposable

    close

    Methods inherited from interface com.velocitypowered.natives.Native

    preferredBufferType
  • Method Details

    • process

      void process(io.netty.buffer.ByteBuf source)
      Encrypts the given ByteBuf in-place.
      Parameters:
      source - the buffer to encrypt