: The challenge asks for a specific component of one of these vectors (usually the 2nd2 raised to the n d power component of Key Resources
Crucially, the LLL algorithm calculates the of the basis vectors at gram schmidt cryptohack
Here’s a robust implementation you can adapt for the CryptoHack challenge: : The challenge asks for a specific component
ui=vi−∑j=1i−1μijuju sub i equals v sub i minus sum from j equals 1 to i minus 1 of mu sub i j end-sub u sub j Where the Gram-Schmidt coefficient μijmu sub i j end-sub is calculated as: gram schmidt cryptohack