public interface

BytesKeyGenerator

org.springframework.security.crypto.keygen.BytesKeyGenerator

Class Overview

A generator for unique byte array-based keys.

Summary

Public Methods
abstract byte[] generateKey()
Generate a new key.
abstract int getKeyLength()
Get the length, in bytes, of keys created by this generator.

Public Methods

public abstract byte[] generateKey ()

Generate a new key.

public abstract int getKeyLength ()

Get the length, in bytes, of keys created by this generator. Most unique keys are at least 8 bytes in length.