Skip to content

@mega-yfue/eufy-sdk / getImageSeed

Function: getImageSeed()

ts
function getImageSeed(p2pDid, code): string;

Derive the per-image seed from the p2p_did + the image's own code — second input to getImageKey.

Parameters

p2pDid

string

code

string

Returns

string

Independent and unofficial. Not affiliated with, endorsed by, or sponsored by Anker Innovations, Anker eufy, or eufy. "Anker eufy", "eufy" and "Anker" are trademarks of their respective owners. Use responsibly — rapid or failed logins can trigger captcha or temporary cooldowns.