added EXCHANGE_KEY and EXCHANGE_SECRET to use them for creating the exchange signature.
added createSignature() decodeSignature() and isExchangeSecure function, which createSignature will create the signature based on the EXCHANGE_SECRET, and uses EXCHANGE_KEY to create the unique key that will check agains later, decodeSignature does basically the oposite of createSignature, which is basically decode the signature and compare it agains the EXCHANGE_SECRET it is is the same.
small changes in the user routes where we handle the account.
created CRUD in exchanges file where we handle all the exchanges actions based on the verb.
added EXCHANGE_KEY and EXCHANGE_SECRET to use them for creating the exchange signature.
added createSignature() decodeSignature() and isExchangeSecure function, which createSignature will create the signature based on the EXCHANGE_SECRET, and uses EXCHANGE_KEY to create the unique key that will check agains later, decodeSignature does basically the oposite of createSignature, which is basically decode the signature and compare it agains the EXCHANGE_SECRET it is is the same.
small changes in the user routes where we handle the account.
created CRUD in exchanges file where we handle all the exchanges actions based on the verb.