import { CryptoEffects , ECDSA_PARAMS } from '../common' ; import { sign } from '../effects' ; export function * signWithEcdsaKeyPair ( data , privateKey ) { return yield * sign ( ECDSA_PARAMS , privateKey , data ) ; }