There are 2 computers who are going to exchange lots of small packets of data between each other. To generate a shared secret, an elliptic key exchange takes place. If this key is hashed with the current time, and the data is then encrypted with this key via a one time pad cipher algorithm, and then the time is sent with the encrypted data so the other computer can create the same key to decrypt the one time pad cipher, is their any security vulnerabilities??
The key and data would be like so (for encryption):
SharedSecret genreated from elliptic curve key exchange Key = Hash(SharedSecret + Time) Message = OneTimePadCipher(packet data, key) + Time
Are there any vulnerabilities with reusing the same elliptic curve shared secret with a different time in the hash algorithm to create a one time pad key??