package aalg.crypto;

import aalg.algebra.IElement;

public interface IElementKeyExtractor<T extends IElement> {

	/**
	 * Extracts key from given element.
	 * @param element source element
	 * @param index index of the key
	 * @param length length of required key
	 * @return
	 */
	public byte[] extractKey (final T element, final int index, final int length);
}
