How to use sha-256 hash function for DTLS-SRTP in iOS

133 views
Skip to first unread message

toney t

unread,
Mar 23, 2015, 7:45:19 AM3/23/15
to discuss...@googlegroups.com
Hello,

I'm working on an telephony App for iOS that uses WebRTC and noticed that for some reason sha-1 is used as the default hash function to compute the fingerprint for DTLS-SRTP. How can I change that to sha-256 given that it is more secure? Is there some key/value pair on RTCMediaConstraints that I don't know about?

Best regards

Justin Uberti

unread,
Mar 25, 2015, 11:30:51 PM3/25/15
to discuss-webrtc

But you probably don't need sha-256. The MAC is already being chopped to 80 bits for the SRTP crypto suite, so it's unlikely moving to sha-256 will buy you anything.


--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages