Cryptocurrency Q&A Why is crypto/ECDH not included in the root directory?

Why is crypto/ECDH not included in the root directory?

Federico Federico Thu Jul 04 2024 | 7 answers 1738
I'm curious to know, why is the crypto/ECDH module not included in the root directory of the project? Is there a specific reason for this decision? Given the importance of secure cryptographic exchanges in modern applications, wouldn't it make sense to have it readily accessible from the root? Or is there perhaps a technical limitation that prevents it from being placed there? Clarifying this point would help me understand the project's structure and architecture better. Why is crypto/ECDH not included in the root directory?

7 answers

SakuraWhisper SakuraWhisper Sat Jul 06 2024
Due to this, `crypto/ecdh` is not automatically installed when you set up a Go environment.

Was this helpful?

208
77
Riccardo Riccardo Sat Jul 06 2024
Cryptography and its related libraries play a crucial role in the development of secure applications, particularly in the domain of cryptocurrencies and finance.

Was this helpful?

299
46
Caterina Caterina Sat Jul 06 2024
The Go programming language, widely utilized for its simplicity and performance, does not include all cryptographic libraries in its root directory.

Was this helpful?

254
46
TaegeukChampionship TaegeukChampionship Sat Jul 06 2024
One such library is the `crypto/ecdh` package, which is not a part of the standard Go library.

Was this helpful?

273
26
henry_rose_scientist henry_rose_scientist Fri Jul 05 2024
For developers working in the field of cryptography or developing applications that require the use of Elliptic Curve Diffie-Hellman (ECDH) key exchange, explicitly importing this package is necessary.

Was this helpful?

339
82
Load 5 more related questions

|Topics at Cryptocurrency Q&A

Get the BTCC app to start your crypto journey

Get started today Scan to join our 100M+ users

The World's Leading Crypto Trading Platform

Get my welcome gifts