Smile Offline Audio Matching Api?

Hey Guys!

Any of you great people come across any voice matching API's?

Basically want a user to be able to record 5 seconds of speech (offline) store this then then the user be able to speak this into the phone and try match the previous recording

Any help would be met with a lot of appreciation