Uses of Class
org.klomp.snark.v2.MerkleHash
Packages that use MerkleHash
-
Uses of MerkleHash in org.klomp.snark.v2
Fields in org.klomp.snark.v2 declared as MerkleHashMethods in org.klomp.snark.v2 that return MerkleHashModifier and TypeMethodDescriptionstatic MerkleHashV2Util.calculateMerkleRoot(byte[] b) static MerkleHashV2Util.calculateMerkleRoot(File f) static MerkleHashV2Util.calculateMerkleRoot(InputStream in, int plen) Warning: Will return bad value if plen is greater than the next power of two of the input sizestatic MerkleHashV2Util.calculateMerkleRoot(List<MerkleHash> pieces, int plen) PieceHashes.get(int index) Methods in org.klomp.snark.v2 that return types with arguments of type MerkleHashModifier and TypeMethodDescriptionstatic List<MerkleHash> V2Util.calculateMerklePieces(File f, int plen) Methods in org.klomp.snark.v2 with parameters of type MerkleHashModifier and TypeMethodDescriptionstatic booleanV2Util.checkMerkle(MerkleHash root, List<MerkleHash> pieces, int plen) Method parameters in org.klomp.snark.v2 with type arguments of type MerkleHashModifier and TypeMethodDescriptionstatic MerkleHashV2Util.calculateMerkleRoot(List<MerkleHash> pieces, int plen) static booleanV2Util.checkMerkle(MerkleHash root, List<MerkleHash> pieces, int plen) Constructor parameters in org.klomp.snark.v2 with type arguments of type MerkleHashModifierConstructorDescriptionPieceHashes(int hashcount, List<MerkleHash> hashes, List<Long> lengths, PieceLayers layers, int piece_length) PieceLayers(int piece_length, List<List<MerkleHash>> hashes, List<Long> lengths, List<String> atts) From torrent creator Hashes are one list per file More efficient