Implementation of the Merkle-Hellman knapsack cryptosystem